<script>
	import { wxEventCountApi } from './api/config'

	export default {
		onLaunch: function(options) {
			console.log('App Launch')
			const deviceId = uni.getDeviceInfo().deviceId
			wxEventCountApi({
				userUuid: deviceId,
				type: 1,
				scene: options.scene,
				query: options.query,
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
</style>